package com.lms.desiginmode.builder.infobuilder;

import com.lms.desiginmode.builder.Info;

/**
 * @Author: 李孟帅
 * @CreateTime: 2020-12-12 16:57
 * @Description:
 */
public class InfoDirector {
    InfoBuilder infoBuilder;
    public InfoDirector(InfoBuilder infoBuilder){
        this.infoBuilder=infoBuilder;
    }

    public Info create(){
        infoBuilder.price();
       return infoBuilder.create();
    }

}
